<!-- 账号管理 -->
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'north',border:false,height:'auto'" >
        <div class="searchIndex">
            <ul >
                <li>
                    <label>状态:</label>
                    <select class="easyui-combobox" name="orderStatus" data-options="panelHeight:'auto',editable:false,width:100">   
                        <option value="">全部</option>   
                        <option value="0">启用</option>
                        <option value="2">禁用</option>
                    </select> 
                </li>
                <li>
                    <label>员工姓名:</label>
                    <input class="base-input" name="orderName" />
                </li>
                <li>
                    <label>账号:</label>
                    <input class="base-input" name="orderNo" />
                </li>
                <li>
                    <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-searchWin8',plain:true">查询</a>
                </li>
            </ul>
        </div>
    </div>
    <div data-options="region:'center',border:false" >
        <div id="indexButton" style="padding-left:10px;">
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add-win8',plain:true" onClick="">新增</a>
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-trackRecordwin8',plain:true" onClick="">修改</a>
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-okWin8',plain:true" onClick="">启用</a>
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-closeWin8',plain:true" onClick="">禁用</a>
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-removeWin8',plain:true" onClick="">删除</a>
        </div>
        <table id="addOrderItem" class="easyui-datagrid" data-options="url:'../../json/replyEdit.asp',toolbar:'#indexButton',rownumbers:true,border:false,fit:true,fitColumns:true,singleSelect:true,nowrap:false,height:350">
            <thead>
                <tr>
                    <th data-options="field:'account',width:80,align:'center'">登录帐号</th>
                    <th data-options="field:'realName',width:80,align:'center'">姓名</th>
                    <th data-options="field:'personNo',width:80,align:'center'">邮件</th>
                    <th data-options="field:'isAuthenticationName',width:80,align:'center'">状态</th>
                </tr>
            </thead>
        </table>
    </div>
</div>

<script>
    ;(function($,window, PageObject){
        // 格式化datagrid(修改最后一列数据为详情)
        PageObject.gameUserFormatter = function (value, row, rowIndex) {
            return "<a href='javascript:void(0);' style='color:blue;' onclick=''>通过</a><a href='javascript:void(0);' style='color:blue;margin-left:10px;' onclick=''>拒绝</a><a href='javascript:void(0);' style='color:blue;margin-left:10px;' onclick='PageObject.gameUserDetail();'>详情</a>";
        };
    })(jQuery,window, window.PageObject = {});

</script>